/*
 * VisualButtonForPANE.h
 *
 *  Created on: May 1, 2009
 *      Author: wrice
 */

#ifndef VISUALBUTTONFORPANE_H_
#define VISUALBUTTONFORPANE_H_
#include "PANEView.h"
namespace PANEView {

class VisualButtonForPANE : EXTENDS_INTERFACE( VisualSegmentForPANE ) {
public:
	virtual DOMString getNormalImageURL() = 0;
	virtual DOMString getMouseOverImageURL() = 0;
	virtual DOMString getMouseDownImageURL() = 0;
	virtual DOMString getDisabledImageURL() = 0;
	virtual unsigned short getLoadedImages() = 0;

	virtual unsigned short getButtonState() = 0;
	virtual void setButtonState( unsigned short buttonState ) = 0;

	virtual bool getIsDisabled() = 0;
	virtual bool getIsLoaded() = 0;

	enum {
		ButtonNormalState = 0,
		ButtonMouseOverState,
		ButtonMouseDownState,
		ButtonDisabledState
	};

	enum {
		NORMAL_IMAGE = 1,
		MOUSE_OVER_IMAGE = 2,
		MOUSE_DOWN_IMAGE = 4,
		DISABLED_IMAGE = 8
	};
};

}

#endif /* VISUALBUTTONFORPANE_H_ */
